﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="weblib/jquery.easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="weblib/jquery.easyui/themes/icon.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="weblib/skins/style.css" />
	<script type="text/javascript" src="weblib/jquery/jquery-1.8.0.min.js"></script>


<!--    <script type="text/javascript" src="Language/en.js"></script>-->
	<script type="text/javascript" src="weblib/jquery/jquery.adaptor.js"></script>
	<script type="text/javascript" src="weblib/jquery.easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="weblib/jquery.easyui/jquery.easyui.adaptor.js"></script>
    <script src="weblib/jshelper/md5.js" type="text/javascript"></script>
	<script type="text/javascript" src="webjs/core/config.js"></script>

<!--	<script type="text/javascript" id="s1" src="Language/sys_language/en.js" ></script>
    <script type="text/javascript" id="s2" src="webjs/core/common.js" ></script>-->

    
  <!-- <script type="text/javascript" src="webdata/DataDict.js"></script>-->
   <script type="text/javascript">

       var language = $.cookie('_language_');
       if (language == null || language == '') {
           document.write("<script src='Language/sys_language/zh.js'><\/script>");
       }
       else if (Number(language) == 1) {
           document.write("<script src='Language/sys_language/zh.js'><\/script>");
       }
       else if (Number(language) == 0) {
           document.write("<script src='Language/sys_language/en.js'><\/script>");
       }
       document.write("<script src='webjs/core/common.js'><\/script>");
       document.write("<script src='weblib/jquery/sys_common.js'><\/script>");
       document.write("<script src='webdata/DataDict.js'><\/script>");
   </script>
<!--<script type="text/javascript">
        var lang = {};
</script>-->
</head>
<body style="padding-top:0px;width:100%;overflow:hidden">
<div id="formid" class="myform"></div>
<div id="tableid"></div>
</body>
    <script type="text/javascript">


        $(function () {
            var p = $.getPara('p'); //
            if (p == 'navigatSpace') {
                // window.open('WebFileExplorer\\Default.aspx')
                //window.parent.frames.location.href = 'WebFileExplorer\\Default.aspx';
                location.href = 'WebFileExplorer\\Default.aspx';
            }
            if (p == null || p == '') {
                alert('error');
                return;
            }
            p = p.replace(/\|/g, '/');
            var language = $.cookie('_language_');
            if (language == null || language == '') {
                language = "zh";
                alert("test");
            }
            else if (Number(language) == 1) {
                language = "zh";
            }
            else if (Number(language) == 0) {
                language = "en";
            }
            var lang = {};

            $.getScript("Language/sys_language/" + language + '.js', function () { });
            //            $.getScript("webjs/core/common.js", function () { });
            $.getScript('webjs/' + p + '.js', function () {
                //自定义的js文件中的初始化方法
                var pArr, pName, objP;
                pArr = p.split('/');
                pName = pArr[pArr.length - 1];
                objP = window[pName];
                if (objP) objP.init();

            });

        });


</script>
</html>
